FROM  registry.steam.crcloud.com/crcsoft-biz-platform/nginx:1.25.2-arm64v8
LABEL maintainer lihd <lihuidong9@crdigital.com.cn>
COPY pullConfig.sh /etc/nginx
RUN  ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
COPY nginx.conf /etc/nginx/nginx.conf
COPY  dist /etc/nginx/html/ripples
RUN chmod +x /etc/nginx/pullConfig.sh
EXPOSE 80 443
CMD ["/etc/nginx/pullConfig.sh","nginx", "-g", "daemon off;"]
